<%@ page contentType="text/html; charset=UTF-8"%>

<%@ page import="wireless.frequent.pac.Pac"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Iterator"%>

<%List<List<Pac>> pacList = (List<List<Pac>>)request.getAttribute("pacList"); %>

<div style="position:relative ;float:left" >
<% 
for(Iterator sit=pacList.iterator();sit.hasNext();)//迭代取值
{
	List<Pac> list = (List<Pac>)sit.next();
	
//  打印一个数据包 	
//	for(Iterator s=list.iterator();s.hasNext();)//迭代取值
	for(int i=0;i<list.size();i++)
	{
		out.print(list.get(i).getValue());
		if(i%2==1)
		{
			out.print("&nbsp;");
		}
		if(((i+1)%32==0)&&(i!=0))
		{
			out.print("<br/>");
		}
	}
	out.print("<br/>");
}
%>
</div>
<div style="position:relative ;float:left;width:40px" >
</div>
<div style="position:relative;float:right">
<% 
for(Iterator sit=pacList.iterator();sit.hasNext();)//迭代取值
{
	List<Pac> list = (List<Pac>)sit.next();
	
//  打印一个数据包 	
//	for(Iterator s=list.iterator();s.hasNext();)//迭代取值
	for(int i=0;i<list.size();i++)
	{
		if(list.get(i).getFlag()==1)
		{
		out.print("<b>");
		out.print(list.get(i).getValue());
		out.print("</b>");
		}
		else
		{
		out.print(list.get(i).getValue());	
		}
		if(i%2==1)
		{
			out.print("&nbsp;");
		}
		if(((i+1)%32==0)&&(i!=0))
		{
			out.print("<br/>");
		}
	}
	out.print("<br/>");
}
%>
</div>